﻿ALTER TABLE [dbo].[events]  WITH CHECK ADD CONSTRAINT [fk_events_users] FOREIGN KEY([user_id])
	REFERENCES [dbo].[users] ([user_id])
ON DELETE CASCADE

GO

ALTER TABLE [dbo].[events] CHECK CONSTRAINT [fk_events_users]